package org.chs.ts.base.batch.exec.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wuwei
 * @date 2024/11/20
 * @apiNote
 */
@Data
@TableName("batch_daily_basic_task_step_exec")
@Accessors(chain = true)
@EqualsAndHashCode()
@ApiModel(value = "batch_daily_basic_task_step_exec对象", description = "batch_daily_basic_task_step_exec")
public class BatchDailyBasicTaskStepExec implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * create_by
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * create_time
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * update_by
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * update_time
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * sys_org_code
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * bactch_sys_code
     */
    @ApiModelProperty(value = "跑批系统代码")
    private String batchSysCode;
    /**
     * step_params
     */
    @ApiModelProperty(value = "步骤参数JSON格式")
    private String stepParams;
    /**
     * step_params_description
     */
    @ApiModelProperty(value = "步骤参数说明JSON格式")
    private String stepParamsDescription;
    /**
     * step_params_version
     */
    @ApiModelProperty(value = "步骤参数版本号")
    private String stepParamsVersion;
    /**
     * task_put_id
     */
    @ApiModelProperty(value = "步骤参数JSON格式")
    private String taskPubId;
    /**
     * step_name
     */
    @ApiModelProperty(value = "步骤名称")
    private String stepName;
    /**
     * step_no
     */
    @ApiModelProperty(value = "步骤ID")
    private String stepNo;
    /**
     * is_replay
     */
    @ApiModelProperty(value = "是否重新执行该步骤")
    private String isReplay;
    /**
     * server_ip
     */
    @ApiModelProperty(value = "服务器IP")
    private String serverIp;
    /**
     * target_code
     */
    @ApiModelProperty(value = "目标代码")
    private String targetCode;
    /**
     * rtn_code
     */
    @ApiModelProperty(value = "返回码")
    private String rtnCode;
    /**
     * exec_status
     */
    @ApiModelProperty(value = "执行状态(0-未执行 1-占用中 2-执行中 3-执行成功 9-执行失败)")
    private String execStatus;
    /**
     * rtn_desc
     */
    @ApiModelProperty(value = "执行结束信息")
    private String rtnDesc;
    /**
     * start_time
     */
    @ApiModelProperty(value = "执行开始时间")
    private String startTime;
    /**
     * end_time
     */
    @ApiModelProperty(value = "执行j结束时间")
    private String endTime;
    /**
     * server_name
     */
    @ApiModelProperty(value = "服务器主机名")
    private String serverName;
    /**
     * thread_uuid
     */
    @ApiModelProperty(value = "分片任务执行UUID")
    private String threadUuid;
    /**
     * slice_req_class
     */
    @ApiModelProperty(value = "分片任务请求参数类")
    private String sliceReqClass;
    /**
     * slice_service_class
     */
    @ApiModelProperty(value = "分片任务服务处理类")
    private String sliceServiceClass;
    /**
     * slice_service_base_class
     */
    @ApiModelProperty(value = "分片任务服务处理类")
    private String sliceServiceBaseClass;
    /**
     * task_execid
     */
    @ApiModelProperty(value = "分片任务基础服务处理类")
    private String taskExecid;
    /**
     * exec_date
     */
    @ApiModelProperty(value = "执行日期(YYYYMMDD)")
    private String execDate;
    /**
     * exec_time
     */
    @ApiModelProperty(value = "执行时间(HHmmss)")
    private String execTime;



}
